#!/usr/bin/env python
# encoding: utf-8

from django.template import Library

register = Library()


@register.simple_tag
def string_just(num):
	if num < 100:
		f_num = f"{str(num).rjust(3, '0')}"
		return f'#{f_num}'
	return num
